<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="description" content="{{site.description}}">
    <meta name="keywords" content="{{site.keywords}}" />
    <meta property="og:title" content="{{site.title}}" />
    <meta property="og:description" content="{{site.description}}" />
    <title>{{site.title}}-{{site.name}}</title>
    {{include './common/meta.html'}}
</head>

<body>

    <!-- 头部 -->
    {{include './common/header.html'}}


    <!-- 内容 -->
    <section class="pb-20 justify-center row">
        <div class="w-1200 pb-20">
            <article class="article-index">
                <div class="bg-fff pd-15 mb-1 f-14 c-999 radius-6"><i class="ico-20 ico-home pos-r t-3"></i> <a
                        href="/">首页</a> /
                    {{each position}}
                    {{if $index < position.length-1}} <a href="{{$value.path}}/index.html">{{$value.name}}</a> /
                        {{else}}
                        <a class="c-666" href="{{$value.path}}/index.html">{{$value.name}}</a>
                        {{/if}}
                        {{/each}}
                </div>
                <div class="bg-fff pl-25 pr-25 pb-25 radius-6 list">
                    {{if articleList?.list?.length>0}}
                    <ul>
                        {{each articleList.list}}
                        <li class="row border-dashed pt-20 pb-20">
                            <figure class="row justify-between mt-10">
                                {{if $value.img}}
                                <div class="thumb-120 mb-10">
                                    <img class="w-p100" src="{{$value.img}}" alt="{{$value.title}}"
                                        title="{{$value.title}}">
                                </div>
                                {{/if}}
                                <div class="flex-1">
                                    <h3 class="f-18 ellips-2 bold mt-4 c-141414"> <a
                                            href="{{$value.path}}/article-{{$value.id}}.html"
                                            title="{{$value.title}}">{{$value.title}}</a></h3>
                                    <p class="f-12 c-bfbfbf mb-8"><i
                                            class="ico-20 ico-time pos-r t-4"></i>{{dateFormat($value.createdAt,
                                        'YYYY-MM-DD')}} <i class="ico-20 ico-昂科 pos-r t-4 ml-4"></i> 昂科 <i
                                            class="ico-20 ico-view pos-r t-5 ml-4"></i>
                                        阅读（{{$value.pv}}）<!-- <i class="ico-20 ico-zan pos-r t-4 ml-4"></i>点赞（95） -->
                                    </p>
                                    <p class="f-14 ellips-3 c-595959"> <a
                                            href="{{$value.path}}/article-{{$value.id}}.html" title="{{$value.title}}">
                                            {{@ $value.description}}[详情]</a></p>
                                </div>
                            </figure>
                        </li>
                        {{/each}}
                    </ul>
                    {{/if}}
                </div><!-- 分页 -->
                <div class="page mt-1 bg-fff pd-25 row justify-center radius-6" id="app">
                    <ul class="overflow-h center" id="page">
                        {{@ pageHtml}}
                    </ul>
                </div>
            </article>
        </div>
    </section>

    <!-- footer -->
    {{include './common/footer.html'}}

    <!-- 返回顶部 -->
    {{include './common/backtop.html'}}

    {{include './common/js.html'}}

</body>

</html>